home *** CD-ROM | disk | FTP | other *** search
Text File | 1998-01-12 | 923 b | 14 lines | [TEXT/ToyS] |
- on PetDialog(petName, petType, petRelation)
- return dd auto dialog {size:[270, 226], name:"My Pets", style:movable dialog, default item:1, contents:[¬
- {class:push button, bounds:[40, 192, 98, 212], name:"OK"}, ¬
- {class:push button, bounds:[168, 192, 226, 212], name:"Cancel"}, ¬
- {class:text field, bounds:[72, 16, 259, 32], name bounds:[8, 16, 57, 32], name:"name:", value:petName}, ¬
- {class:radio group, bounds:[26, 48, 130, 66], button offset:[120, 16], max down:4, contents:¬
- ["cat", "dog", "weasel", "snake", "moose", "parakeet", "squirrel", "gila monster"], value:petType}, ¬
- {class:radio group, bounds:[26, 142, 126, 158], button offset:[120, 16], max down:2, contents:¬
- ["love", "hate", "who cares?", "get along"], value:petRelation}, ¬
- {class:group box, name:"Relation with:", bounds:[10, 124, 260, 180], style:secondary group} ¬
- ]} with grayscale
- end PetDialog
-
- get my PetDialog("Abbey", 3, 1)